using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class Material
    {
        public Material()
        {
            this.BillDetails = new List<BillDetail>();
            this.MaterialDetails = new List<MaterialDetail>();
            this.PurchaseDetails = new List<PurchaseDetail>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public int MaterialTypeID { get; set; }
        public virtual ICollection<BillDetail> BillDetails { get; set; }
        public virtual ICollection<MaterialDetail> MaterialDetails { get; set; }
        public virtual ICollection<PurchaseDetail> PurchaseDetails { get; set; }
    }
}
